package com.cdxy.model.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/4/1 17:21
 */
@Data
@ApiModel
public class SaveHotelReq extends UserWithLoginReq implements Serializable {

    private static final long serialVersionUID = 1886938366959265551L;

    @ApiModelProperty(value = "酒店id")
    private Integer hotelId;

    @ApiModelProperty(value = "操作（1-收藏 2- 取消）", allowableValues = "1,2", example = "1")
    @NotNull(message = "操作不能为空")
    private Integer type;
}
